package com.ruoyi.zsyh.mapper;

import java.util.List;
import com.ruoyi.zsyh.domain.ZsyhAfterCommissionSetting;

/**
 * 售后工单提成金额设定Mapper接口
 * 
 * @author yuexl
 * @date 2022-09-13
 */
public interface ZsyhAfterCommissionSettingMapper 
{
    /**
     * 查询售后工单提成金额设定
     * 
     * @param id 售后工单提成金额设定ID
     * @return 售后工单提成金额设定
     */
    public ZsyhAfterCommissionSetting selectZsyhAfterCommissionSettingById(Long id);

    /**
     * 查询售后工单提成金额设定列表
     * 
     * @param zsyhAfterCommissionSetting 售后工单提成金额设定
     * @return 售后工单提成金额设定集合
     */
    public List<ZsyhAfterCommissionSetting> selectZsyhAfterCommissionSettingList(ZsyhAfterCommissionSetting zsyhAfterCommissionSetting);

    /**
     * 新增售后工单提成金额设定
     * 
     * @param zsyhAfterCommissionSetting 售后工单提成金额设定
     * @return 结果
     */
    public int insertZsyhAfterCommissionSetting(ZsyhAfterCommissionSetting zsyhAfterCommissionSetting);

    /**
     * 修改售后工单提成金额设定
     * 
     * @param zsyhAfterCommissionSetting 售后工单提成金额设定
     * @return 结果
     */
    public int updateZsyhAfterCommissionSetting(ZsyhAfterCommissionSetting zsyhAfterCommissionSetting);

    /**
     * 删除售后工单提成金额设定
     * 
     * @param id 售后工单提成金额设定ID
     * @return 结果
     */
    public int deleteZsyhAfterCommissionSettingById(Long id);

    /**
     * 批量删除售后工单提成金额设定
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZsyhAfterCommissionSettingByIds(String[] ids);
}
